import request from '@/utils/request'

// 查询下载收藏分享点赞记录列表
export function listAOperationRecords(query) {
  return request({
    url: '/system/aOperationRecords/list',
    method: 'get',
    params: query
  })
}

// 查询下载收藏分享点赞记录详细
export function getAOperationRecords(id) {
  return request({
    url: '/system/aOperationRecords/' + id,
    method: 'get'
  })
}

// 新增下载收藏分享点赞记录
export function addAOperationRecords(data) {
  return request({
    url: '/system/aOperationRecords',
    method: 'post',
    data: data
  })
}

// 修改下载收藏分享点赞记录
export function updateAOperationRecords(data) {
  return request({
    url: '/system/aOperationRecords',
    method: 'put',
    data: data
  })
}

// 删除下载收藏分享点赞记录
export function delAOperationRecords(id) {
  return request({
    url: '/system/aOperationRecords/' + id,
    method: 'delete'
  })
}
